import { defineStore } from "pinia";
import { ref } from "vue";

export const useNavigationStore = defineStore("navigation", () => {
  const fold = ref(false);
  const changeFlod = () => {
    fold.value = !fold.value;
  };

  const fresh = ref(false);
  const changeFresh = () => {
    fresh.value = !fresh.value;
  };

  return { fold, fresh, changeFlod, changeFresh };
});
